package com.sx.art2.service;

import java.util.List;

import com.sx.art2.beans.Order;

public interface OrderService {
	
	public void insert(Order order);
	public void payment(String orderId);
	public void withdrawOrder();
	public List<Order> selectOrderByUser(int userId);

	public List<Order> list2();
	public List<Order> list3(int orderState);

	public List<Order> selectAll();
	public Order selectById(String orderId);
	public List<Order> selectOrderAmount();
	public void updateOrderState(int orderState,String orderId,String time);
	public void confirm(int orderState,String orderId,String time);
}
